<?php
/** Test model: document
 *
 */
namespace Test\modules\Test;

class Model_Dept
    extends \Yz_Model_Abstract
{
    const SOURCE_NAME = "test_depts";

    /** Model's constructor requires module
     *  @param Yz_Module_Interface $module
     */
    protected function init()
    {
        debug();
        parent::init();
#        $employee = $this->selectModel('Employee');
        $d =& $this->__dict__;
        $d['id']     = new \Yz_Property_Id();
        $d['name']   = new \Yz_Property_String();
#        $d['head']  = new \Yz_Property_ForeignKey($employee, array('fieldName' => 'headId'));
    }


}
